package cn.sumpu.app.guoguojie.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Album;
import cn.sumpu.app.guoguojie.domain.AlbumDoing;
import cn.sumpu.app.guoguojie.domain.Doing;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface AlbumDao {
    public void insertAlbum(Album album) throws AppBusinessException;

    public void updateAlbum(Album album) throws AppBusinessException;

    public void deleteAlbum(Map<String, Object> map) throws AppBusinessException;

    public void insertAlbumDoing(AlbumDoing albumDoing) throws AppBusinessException;

    public void updateAlbumDoing(AlbumDoing albumDoing) throws AppBusinessException;

    public void deleteAlbumDoing(Map<String, Object> map) throws AppBusinessException;

    public int getAlbumCount(Map<String, Object> map) throws AppBusinessException;

    public int getAlbumDoingCount(Map<String, Object> map) throws AppBusinessException;

    public int getAlbumMinSort(Map<String, Object> map) throws AppBusinessException;

    public int getAlbumMaxSort(Map<String, Object> map) throws AppBusinessException;

    public int getAlbumDoingMinSort(Map<String, Object> map) throws AppBusinessException;

    public int getAlbumDoingMaxSort(Map<String, Object> map) throws AppBusinessException;

    public List<Album> getAlbum(Map<String, Object> map) throws AppBusinessException;

    public List<AlbumDoing> getAlbumDoing(Map<String, Object> map) throws AppBusinessException;

    public List<Album> getAlbumRelationDoing(Map<String, Object> map) throws AppBusinessException;
    
    public List<Doing> getDoing(Map<String, Object> map) throws AppBusinessException;
}
